package com.seadragon.app.ksr.model;

import java.util.ArrayList;
import java.util.List;

import com.seadragon.app.ksr.model.tiger.Location;

public class SearchResult {
	private List<Office> offices;
	
	private List<String> jsonResult = new ArrayList<String>();
	private List<Customer> customers;
	private Location targetLocation;
	private List<? extends Location> locationFilter;
	private Long totalResultNumber;

	public Long getTotalResultNumber() {
		return totalResultNumber;
	}

	public void setTotalResultNumber(Long totalResultNumber) {
		this.totalResultNumber = totalResultNumber;
	}

	public Location getTargetLocation() {
		return targetLocation;
	}

	public void setTargetLocation(Location targetLocation) {
		this.targetLocation = targetLocation;
	}

	public List<String> getJsonResult() {
		return jsonResult;
	}

	public void setJsonResult(List<String> jsonResult) {
		this.jsonResult = jsonResult;
	}

	public List<Office> getOffices() {
		return offices;
	}

	public void setOffices(List<Office> offices) {
		this.offices = offices;
	}

	public List<Customer> getCustomers() {
		return customers;
	}

	public void setCustomers(List<Customer> customers) {
		this.customers = customers;
	}

	public List<? extends Location> getLocationFilter() {
		return locationFilter;
	}

	public void setLocationFilter(List<? extends Location> locationFilter) {
		this.locationFilter = locationFilter;
	}
	
	public void addResult(String jsonHit){
		jsonResult.add(jsonHit);
	}
}
